import os
import Image

C_IMG_SRC='ENIMAGE1346577316072.bmp'
C_IMG_SRC2='IMG_20121117_113243.jpg'
C_IMG_DEST='test1.bmp'

img=Image.open(C_IMG_SRC)
img2=Image.open(C_IMG_SRC2)
img=img.convert('RGB')
img2=img2.convert('RGB')

print img.size,img2.size

#img=img.resize(500,300)
#img2=img2.resize(500,300)

img2=Image.blend(img,img2,0.8)

img2.save(C_IMG_DEST)
os.system(C_IMG_DEST)




